<div class="box white_bg">

<div class="success-message">
	<?if(isset($this->viewParams['successMessage'])) :?><?=$this->viewParams['successMessage']; ?>
	<?endif?>
</div>
<div class="error-message">
	<?if(isset($this->viewParams['errorMessage'])) :?><?=$this->viewParams['errorMessage']; ?><?endif?>
</div>

<?if (isset($this->viewParams['justRegistered']) && $this->viewParams['justRegistered'] == 1) :?>
<?=t(447) ?>
<?endif ?>

<form accept-charset="UTF-8" action="<?= $this->escape($this->viewParams['form']->getAction()) ?>"
      method="<?= $this->escape($this->viewParams['form']->getMethod()) ?>">
<?=$this->viewParams['form']->overallError; ?>
<fieldset class="expansible">
<legend><span><?if($this->viewParams['type'] == 2) :?><?=t(448) ?> <?else:?><?=t(484)?><?endif?>
</span></legend>
<table>
<?if(isset($this->viewParams['form']->fullname)):?>
<tr>
<td width="120px"> <?=t(461) ?>:</td>
<td><?= $this->viewParams['form']->fullname; ?></td>
</tr>
<?endif?>

<?if(isset($this->viewParams['form']->gender)):?>
<tr>
<td width="120px" > <?=t(462) ?>: </td>
<td> <?= $this->viewParams['form']->gender; ?> </td>
</tr>
<?endif?>

<?if(isset($this->viewParams['form']->company_name)) :?>
<tr>
<td><?=t(472) ?>:</td>
<td><?= $this->viewParams['form']->company_name; ?></td>
</tr>
<?endif?>

<?if(isset($this->viewParams['form']->company_address)) :?>
<tr>
<td><?=t(473) ?>:</td>
<td><?= $this->viewParams['form']->company_address; ?></td>
</tr>
<?endif?>

<?if(isset($this->viewParams['form']->signature)):?>
<tr>
<td  width="120px"><?=t(429) ?>:</td>
<td><?= $this->viewParams['form']->signature; ?></td>
</tr>
<?endif?>

<?if(isset($this->viewParams['form']->company_description)):?>
<tr>
<td  width="120px"><?=t(482) ?>:</td>
<td><?= $this->viewParams['form']->company_description; ?></td>
</tr>
<?endif?>
</table>
</fieldset>

<fieldset  class="expansible">
<legend><span><?=t(825) ?></span></legend>
<table>
<tr>
<td  width="120px"><?=t(777) ?>:</td>
<td><?= $this->viewParams['form']->address; ?></td>
</tr>
<!--
<tr>
<td><?=t(460) ?>:</td>
<td><?= $this->viewParams['form']->address; ?>TODOTODO</td>
</tr>
-->

<tr>
<td><?=t(750) ?>:</td>
<td><?= $this->viewParams['form']->phone; ?> (If many, separate by ; )</td>
</tr>

<?if(isset($this->viewParams['form']->fax)) :?>
<tr>
<td><?=t(751) ?>:</td>
<td><?= $this->viewParams['form']->fax; ?></td>
</tr>
<?endif?>

<tr>
<td  width="120px"><?=t(463) ?>:</td>
<td><?= $this->viewParams['form']->website; ?></td>
</tr>

</table>
</fieldset>

<fieldset  class="expansible">
<legend><span><?=t(457) ?></span></legend>
<table>

<tr>
<td  width="120px"><?=t(458) ?>:</td>
<td><?= $this->viewParams['form']->language; ?></td>
</tr>

<tr>
<td><?=t(459) ?>:</td>
<td><?= $this->viewParams['form']->theme; ?></td>
</tr>

</table>
</fieldset>

<input type="hidden" name="id" value="<?=$this->viewParams['id']; ?>" />
<?= $this->viewParams['form']->submit; ?> 

</form>
<div style="min-height:20px"></div>
</div>